<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%><%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%

	String fileUrl = request.getParameter("fileName");
	String ext = request.getParameter("ext");

	if (fileUrl == null) {
		fileUrl = "";
	}
	if (ext == null) {
		ext = "avi";
	}

%>  

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>online view</title>
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all-gray.css" />
</head>
<body>

<object align="middle" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" class="OBJECT" id="MediaPlayer" 
height="586" width="100%" style="LEFT: 0px; TOP: 0px">
     <param name=ShowStatusBar value=0>
       <param name="Filename" value="${fileUrl}">
        <embed type=application/x-oleobject codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" >
     </embed>
</object>
</body>
</html>

